package com.ding.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首页控制器
 *
 * @author guorui
 */
@Controller
public class MainController {

	
    @RequestMapping(value = { "/index", "" })
    public String index() {
        return "main/index";
    }

    @RequestMapping(value = { "/main/welcome"})
    public String welcome() {
    	return "main/welcome";
    }

}
